import { Module } from '@nestjs/common'
import { MailService } from './mail.service'
import { MailController } from './mail.controller'
import { MailerModule } from '@nestjs-modules/mailer'
import { Mail } from '@config/mail' // 邮箱配置信息
@Module({
	imports: [MailerModule.forRoot(Mail)],
	providers: [MailService],
	controllers: [MailController],
    exports: [MailModule]
})
export class MailModule {}
